/* 整体页面背景色 */
body {
    background-color: #f8f9fa;
}

/* 标题样式 */
.text-center h2 {
    font-size: 2rem;
    color: #495057;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 表单容器样式 */
#userForm{
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    margin-bottom: 3rem; /* 增加底部边距 */
}

#changePasswordForm{
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    margin-bottom: 3rem; /* 增加底部边距 */
}

/* 输入框样式 */
.form-control {
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 5px rgba(128, 189, 255, 0.5);
}

/* 标签样式 */
.form-label {
    font-weight: bold;
    color: #495057;
}

/* 提交按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-bottom: 1px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 91, 187, 0.2);
}

/* 头像预览样式 */
.rounded-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #007bff;
    margin-top: 1rem;
}

/* 表单间距 */
.mb-3 {
    margin-bottom: 1.5rem !important;
}